POV-Ray : Newsgroups : povray.binaries.images : Eye macro : Re: Eye macro Server Time
20 Nov 2024 04:31:25 EST (-0500)
  Re: Eye macro  
From: Redbeard (MDJohnson)
Date: 20 Oct 2001 19:28:16
Message: <3bd20890$1@news.povray.org>
"Mahalis" <don### [at] fakeycom> wrote in message
news:3bc73d53@news.povray.org...
> I just made a little macro that lets you specify eye location, angle, lids
> on/off, and lid angle. Any suggestions? I think the iris texture could
> definitely use some improvement but am not exactly sure how to go about it.
> Comments, questions and criticism are all welcome.
>

I've used radial for iris's before.  It works pretty well but is too regular.
I've tried adding turbulence, but it moves the center too much.  Maybe f_noise3d
would work better... hmmm

I agree with the look_at vector.  Probably one of the reorient macros would
work.  Hmmm... and have it react to brightness, too?  So the size of the pupil
is smaller for brighter light.  And IIRC, the pupil changes size with the
distance of whatever you're looking at.  I'm not sure how, though.  You could
use the distance to the look_at vector to calculate that.

Well... now I'm gonna have to go and do some research. :-)

Michael

--
#macro M(D)#local J=strlen(D);#local _=""#while(J>0)#local _=concat(_,substr(D
,J,1))#local J=J-1;#end _#end sphere{z*9,5pigment{rgb x}}#macro N(D,J)text{ttf
"timrom.ttf"M(D)1,0 translate-J}#end#macro O(E,K)#local _=N(E,K)light_source{-
z*9rgb 1projected_through{_}}#end O("leahciM"<1.6,-.3.9>)O("nosnhoJ"<1.6.9.9>)


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.